<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
  {{message}}
  <el-dropdown split-button size="small" trigger="click">
    个人中心
    <el-dropdown-menu slot="dropdown">
      <el-dropdown-item >退出系统</el-dropdown-item>
      <el-dropdown-item divided>修改密码</el-dropdown-item>
      <el-dropdown-item divided>联系管理员</el-dropdown-item>
    </el-dropdown-menu>
  </el-dropdown>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
  new Vue({
    el: '#app',
    data:{
      message:"学习下拉菜单"
    }
  })
</script>
</html>